# import tushare as ts
import easyquotation
# ts.set_token('3da4fd560c39928cf47a0ff03d31652d6c22e5156b3d727ed89b56b0')
# pro = ts.pro_api()
#
# df = ts.get_realtime_quotes('000581')
# print(df[['code','name','price','bid','ask','volume','amount','time']])
#
#
# df2 = pro.daily(ts_code='000581.SZ', trade_date='20200917')
#
# print(df2)

quotation=easyquotation.use('sina')
data=quotation.real('603557')
print(data)
data=quotation.stocks(['sh000001', '603557','600000'], prefix=True)
print(data)

# quotation = easyquotation.use('jsl')
# data=quotation.funda();
# print(data)
# print(quotation.stocks('000002'))
# quotation  = easyquotation.use("daykline")
# data = quotation.real(['00001','00700'])
# print(data)
# quotation = easyquotation.use("timekline")
# data = quotation.real(['000002','603557'], prefix=True)
# print(data)
# 腾讯分时图地址

# quotation = easyquotation.use("timekline")
# data = quotation.real(['603828'], prefix=True)
# print(data)